package com.chenfan.mcn.model.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author: tangwei
 * @Date: 2021/7/9 15:31
 * @Description:
 */
@Data
public class ChargePushMqDTO implements Serializable {

    private static final long serialVersionUID = 879312641416648274L;

    /**
     * 单据ID
     */
    @NotNull(message = "单据ID不能为空")
    private Long id;

    /**
     * 推送单据的类型
     * type:0收入合同；1执行单；2收入合同补充协议；3客户返点审批 4红人返点合同 5红人月度结算单
     */
    @NotNull(message = "单据类型不能为空")
    private Integer type;

    /**
     * 租户ID
     */
    @NotNull(message = "租户ID不能为空")
    private Long tenantId;
}